<template>
  <div id="app">
    <img src="./assets/logo.png">
    <router-view/>
  </div>
</template>

<script>
import Snap from 'snapsvg'
var format = require('xml-formatter');
export default {
  name: 'App',
  mounted() {
    var xml = '<root><content><p xml:space="preserve">This is <b>some</b> content.</content></p>';
    console.log('mounted: ')
    var formattedXml = format(xml);
    console.log(formattedXml);

    const svgElement = Snap('')
    console.log(svgElement)
  }
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
